<template>
	<view>
		<ff-page-refresh class="sdiy">
			<ff-page-list @loadList="getList">
				
			</ff-page-list>
		</ff-page-refresh>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				default: [
					{
						name: "猫猫猫猫",
						content: "鸟鸟鸟",
					},
					{
						name: "猫猫猫猫",
						content: "鸟鸟鸟",
					},
					{
						name: "猫猫猫猫",
						content: "鸟鸟鸟",
					},
				],
			}
		},
		methods: {
			getList(page, size, next) {
				setTimeout(()=>{
					next.complete(this.default, 50);
				},2000)
			},
		}
	}
</script>

<style scoped>
.sdiy {
	height: 70vh;
	background-color: aliceblue;
}
</style>
